﻿namespace KingerRobot.MexicoSailunMDC.SpiService;
internal interface IBakTask
{
    /// <summary>
    /// 出库是否已完成
    /// </summary>
    /// <param name="taskNo"></param>
    /// <returns></returns>
    POBakWcsTask GetBakTaskByTaskNo(int taskNo);
    /// <summary>
    /// 出库是否已完成发
    /// </summary>
    /// <param name="productCode"></param>
    /// <returns></returns>
    POBakWcsTask GetBakTaskByProductCode(string productCode);

    /// <summary>
    /// 获取任务
    /// </summary>
    /// <param name="skuId"></param>
    /// <returns></returns>
    POBakWcsTask GetBakTaskBySkuId(long skuId);

    /// <summary>
    /// 通过summaryId删除
    /// </summary>
    /// <param name="summaryId"></param>
    /// <returns></returns>
    POBakWcsTask GetBakTaskBySummaryId(long summaryId);
    /// <summary>
    /// 通过时间删除任务
    /// </summary>
    /// <param name="dateTime"></param>
    /// <returns></returns>
    int DeleteBakTaskByDateTime(DateTime dateTime);

    List<SyncMesBean> GetWarehouseingBefore(SyncParm parm);
    List<SyncMesBean> SyncWarehoused(SyncParm parm);
    List<POBakWcsTask> GetOutPutBefore(SyncParm parm);

    List<POBakWcsTask> GetEMSOutPut(SyncParm parm);
}
public class SyncMesBean
{
    public long LocId { get; set; }
    public long SkuId { get; set; }
}